<?
	require_once ('../include/users.php');
	$results = GetUsers();
?>
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8" />
		<title>Home Page</title>
		<meta name="description" content="" />
		<link src="include/bootstrap.css" rel="stylesheet" type="text/css" />
	</head>

<body>
	
<table class="table table-striped table-bordered table-condensed table-hover">
		<tr>
			<th>First Name</th><th>Last Name</th><th>Actions</th>
		</tr>
		<? while($rs = $results->fetch_assoc()): ?>
		<tr>
					<td><?=$rs['FirstName']?></td>
					<td><?=$rs['LastName']?></td>
					<td>
						<a href="details.php?id=<?=$rs['id']?>">Detail</a>
						<a href="#">Edit</a>
						<a href="#">Delete</a>
					</td>
		</tr>
		<? endwhile; ?>
</table>
	
</body>
	
</html>
